package top.kaoshanji.p4ch26a;

/**
 * 代码清单-p4ch26a-330页a：电梯实现类
 * @author kaoshanji
 * ^_^
 * create time 2025/3/27 11:24
 */
public class Lift implements ILift {

    @Override
    public void open() {
        System.out.println("电梯门开启...");
    }

    @Override
    public void close() {
        System.out.println("电梯门关闭...");
    }

    @Override
    public void run() {
        System.out.println("电梯上下运行起来...");
    }

    @Override
    public void stop() {
        System.out.println("电梯停止了...");
    }

}
